function Element(geometry, material) {
  THREE.Mesh.call(this, geometry, material)
}

Element.prototype = Object.create(THREE.Mesh.prototype)
Element.prototype.update = update

function update() {
  for (var i = 0; i < this.children.length; i++) {
    this.children[i].update()
  }
}
